<template>
  <div class="order-wrapper">
    <goods-order v-if="$route.query.type == 'goods'"></goods-order>
    <bid-order v-else></bid-order>
  </div>
</template>

<script>
export default {
  name: "order",
  components: {
    GoodsOrder: () => import("./components/Goods_Order_Detail"),
    BidOrder: () => import("./components/Bid_Order_Detail")
  }
};
</script>

<style lang="scss" scoped>
.order-wrapper {
  width: 100%;
  margin-top: 60px;
}
</style>